1.       Assign values to variable num1 to 100 and num2 to 20 a.       Fill in the blanks with appropriate names b.      Rename...

profilelil2ch

1.       Assign values to variable num1 to 100 and num2 to 20

a.       Fill in the blanks with appropriate names

b.      Rename this sheet to Your name_ Solution_Class Assignment 3 and submit it

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 

namespace Solution Assignment 3

{

    class Program

    {

        static void Main(string[] args)

        {

            int num1 = 100;

 

            int num2 = 20;

 

            int sum, product, difference, remainder, dividend;

 

            sum = num1 + num2;

 

 

            product = ________________________ * ________________________;

 

 

            if (_____________ > ____________________)

            {

 

                difference = ________________ - ____________________________;

 

                dividend = _____________________ / ____________________;

 

                remainder = ________________ %____________________________;

            }

            else

            {

                difference = ________________ - ____________________________;

 

                dividend = ____________________ / ______________________;

 

                remainder = ________________ % ____________________________;

            }

           

Console.WriteLine(" The answers are sum = {0}, product = {1}, difference = {2}, dividend

 

= {3}, remainder = {4} ", -----------, ----------, -------, -------, -------);

           

 

        }

    }

 

}

    • 12 years ago
    • 999999.99
    Answer(1)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      new__6.
    Bids(0)